<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><%--jstl을 쓰기 위해 사용 --%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %><%--숫자 포맷을 사용하기 위해 사용 --%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions"  prefix="fn"%><%--함수들을 이용하기 위해 사용 --%>
<%@ taglib prefix="c-rt" uri="http://java.sun.com/jstl/core_rt" %>  <%-- ie버전 확인에 쓰기 위해 씀 --%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>현황관리</title>
<link href="reset.css" rel="stylesheet" type="text/css" />
<link href="style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="script/sms_riskI_script.js"></script>
<script type="text/javascript" src="script/sms_util_script.js"></script>
<script type="text/javascript" src="calendar/jquery-1.4.4.min.js"></script>
<script src="js/jquery.cookie.js" type="text/javascript"></script>
<script type="text/javascript" src="js/jquery.ui.js"></script>
<!--말 줄임 css(모든 브라우저 적용)-->
<style type="text/css">
.ellipsis{
	white-space:nowrap;
	text-overflow:ellipsis;		/* IE, Safari */
	-o-text-overflow:ellipsis;		/* Opera under 10.7 */
	overflow:hidden;			/* "overflow" value must be different from "visible" */ 
	-moz-binding: url('ellipsis.xml#ellipsis');
}
</style>
<style type="text/css">
.ie6Div{
	width: 48.8%; 
}
</style>

<!--[if lte IE 7]>
<style type="text/css">

</style>
<![endif]-->
<!--[if IE 6]>
<style type="text/css">
.ie6Div{
	width: 47%; 
}
</style>
<![endif]-->
<%--
<script type="text/javascript">
	   //$(function(){$("ul.list-links1").accordion();});
</script>
 --%>
<!--<script type="text/javascript" src="script/project.js"></script>-->
</head>
<body onload="disableOnOff(0)">
<div class="box" style="width:730px; margin: 0 auto;">
      		<h4 class="white">현황관리</h4>
        <div class="box-container1" style="width:730px; margin: 0 auto;">     		
        <form name="riskIDelForm" action="riskIAction.do" method="post">
        	<input type="hidden" name="mode" value="stateReport_searchOK"></input>
        	<input type="hidden" name="searchCondition" id="searchCondition" value="1"></input>
        	<input type="hidden" name="pro_id"  id="pro_id" value="${sessionScope.lastProId }"></input>
        	<input type="hidden" name="ak_nm2"  id="ak_nm2" value="전체"></input>
        	<table class="table-long" style="width:720px; margin-left: 5px;">
        		<colgroup>
					<col width="110px"/>
					<col/>
				</colgroup>
      			<thead>
      				<tr>
      					<td class="col-alignCenter" style="height: 22px">
      						선택현황
      					</td>
      					<td class="noBGC" id="selectState">
      					
      					</td>
      				</tr>
      			</thead>
      		</table>
      		<div class="box-container1" style="float: left; width:730px;">
      			<div class="align-left ie6Div" style="height:  500px; margin-left: 5px;">
      				<div>
      				<table class="table-short1" style="width: 100%;">
			   			<thead>
			   				<tr>
			   					<td style="padding-left: 10px; height: 22px">현황 및 그래프</td>
			   				</tr>
			   			</thead>
			   		</table>
			   		</div>
			   		<div>
			   			<ul class="list-links1" id="menu2" style="margin-left: 10px; padding-top: 10px">
	      				  	<li><a class="m15">RA정보식별</a>
	      				  		<ul>
	      				  			<li><a onclick="disableOnOff(1);" id="spmenu1">정보 개수 현황</a></li>
	      				  			<li><a onclick="disableOnOff(2);" id="spmenu2">정보 보안, 기밀 점수 / 등급 현황</a></li>
	      				  			<li><a onclick="disableOnOff(3);" id="spmenu3">정보개수 증감추이 그래프</a></li>
	      				  			<li><a onclick="disableOnOff(4);" id="spmenu4">정보 보안, 기밀 점수 / 등급 변화추이 그래프</a></li>
	      				  		</ul>
					        </li>
					        <li><a class="m16">RA자산식별</a>
	      				  		<ul>
	      				  			<li><a onclick="disableOnOff(5);" id="spmenu5">자산개수현황</a></li>
	      				  			<li><a onclick="disableOnOff(6);" id="spmenu6">자산 보안, 기밀 점수 / 등급 현황</a></li>
	      				  			<li><a onclick="disableOnOff(7);" id="spmenu7">자산개수 변화추이 그래프</a></li>
	      				  			<li><a onclick="disableOnOff(8);" id="spmenu8">자산 보안, 기밀 점수 / 등급 그래프</a></li>
	      				  		</ul>
					        </li>
					        <li><a class="m17">RA자산취약성식별</a>
	      				  		<ul>
	      				  			<li><a onclick="disableOnOff(9);" id="spmenu9">보안통제 취약성 평균점수 현황</a></li>
	      				  			<li><a onclick="disableOnOff(10);" id="spmenu10">자산 보안통제 취약성 점수 / 등급 현황</a></li>
	      				  			<li><a onclick="disableOnOff(11);" id="spmenu11">보안통제 취약성 평균점수 변화추이 그래프</a></li>
	      				  			<li><a onclick="disableOnOff(12);" id="spmenu12">자산 보안통제 등급 변화 추이 그래프</a></li>
	      				  		</ul>
					        </li>
					         <li><a class="m18">위험</a>
	      				  		<ul>
	      				  			<li><a onclick="disableOnOff(13);" id="spmenu13">위험개수현황</a></li>
	      				  			<li><a onclick="disableOnOff(14);" id="spmenu14">위험수준평가현황</a></li>
	      				  			<li><a onclick="disableOnOff(15);" id="spmenu15">위험처리 결과 잔여위험 분석 현황</a></li>
	      				  			<li><a onclick="disableOnOff(16);" id="spmenu16">위험개수 변화추이 그래프</a></li>
	      				  			<li><a onclick="disableOnOff(17);" id="spmenu17">위험수준평가 변화추이 그래프</a></li>
	      				  		</ul>
					        </li>
				       </ul>
			   		</div>
      			</div>
      			<div class="align-right" style="width: 48.7%; height: 500px;   margin-right: 5px;">
      				<table class="table-short1" style="width: 100%;">
			   			<colgroup>
			   			<c-rt:choose>
						<c-rt:when test="${isMSIE67}">
							<col width="100px"/>
						</c-rt:when>
						<c-rt:otherwise>
							<col width="120px"/>
						</c-rt:otherwise>
						</c-rt:choose>
			   				<col/>
			   			</colgroup>
			   			<thead>
			   				<tr>
			   					<td class="col-alignCenter" style="padding-left: 10px; height: 22px" colspan="2">조회 조건</td>
			   				</tr>
      						<tr><td class="noBGC" colspan="2" style="height: 10px; padding: 0;"></td></tr>
			   				<tr>
				   				<td class="col-alignCenter">RMP 순번(시작)</td>
				   				<td class="col-alignCenter noBGC" >
					   				<select disabled="disabled" name="pro_sday" id="pro_sday" class="selectBox" onchange=""  style="width: 92%">
				   					
                    						<option selected="selected" value="0">전체</option>
                    						<c:forEach  var="list" items="${requestScope.projectList}" varStatus="status">
												<option value="${list.pro_sday }_${list.pro_pindex }">${list.proDayIndex } | ${list.pro_nm }</option>
											</c:forEach>
				   					
									</select>
				   				</td>
			   				</tr>
			   				<tr>
				   				<td class="col-alignCenter">RMP 순번(종료)</td>
				   				<td class="col-alignCenter noBGC" >
					   				<select disabled="disabled" name="pro_lday" id="pro_lday" class="selectBox" onchange=""  style="width: 92%">
				   					
                    						<option selected="selected" value="0">전체</option>
                    						<c:forEach  var="list" items="${requestScope.projectList}" varStatus="status">
												<option value="${list.pro_sday }_${list.pro_pindex }">${list.proDayIndex } | ${list.pro_nm }</option>
											</c:forEach>
				   					
									</select>
				   				</td>
			   				</tr>
			   				<tr><td class="noBGC" colspan="2" style="height: 10px; padding: 0;"></td></tr>
			   				<tr>
			   					<td class="col-alignCenter">지역 / 사이트</td>
				   				<td class="col-alignCenter noBGC">
				   					<select disabled="disabled" name="rainfo_site" id="rainfo_site" class="selectBox" onchange=""  style="width: 92%">
				   					<%--
				   					<c:choose>
                    					<c:when test="${fn:length(requestScope.siteList)!= 0}">
                    					 --%>
                    						<option selected="selected" value="0">전체</option>
                    						<c:forEach  var="list" items="${requestScope.siteList}" varStatus="status">
												<option value="${list.rainfo_site }">${list.rainfo_site }</option>
											</c:forEach>
									<%--
                    					</c:when>
                    					<c:otherwise>
                   							<option value="0">등록된 지역/사이트가 없습니다.</option>
                    					</c:otherwise>
                    				</c:choose>
                    				--%>

									</select>
				   				</td>
			   				</tr>
			   				<tr><td class="noBGC" colspan="2" style="height: 10px; padding: 0;"></td></tr>
			   				<tr>
			   					<td class="col-alignCenter">프로세스</td>
				   				<td class="col-alignCenter noBGC">
				   					<select disabled="disabled" name="rainfo_proc" id="rainfo_proc" class="selectBox" onchange=""  style="width: 92%">
				   					
                    						<option selected="selected" value="0">전체</option>
                    						<c:forEach  var="list" items="${requestScope.procList}" varStatus="status">
												<option value="${list.rainfo_proc }">${list.rainfo_proc }</option>
											</c:forEach>
				   					
									</select>
				   				</td>
			   				</tr>
			   				<tr><td class="noBGC" colspan="2" style="height: 10px; padding: 0;"></td></tr>
			   				<tr>
			   					<td class="col-alignCenter">자산유형</td>
				   				<td class="col-alignCenter noBGC">
				   					<select disabled="disabled" name=base_lev1 id="base_lev1" class="selectBox" onchange="setAkNm2(this)"  style="width: 92%">
				   					
                    						<option selected="selected" value="0">전체</option>
                    						<c:forEach  var="list" items="${requestScope.makindList}" varStatus="status">
												<option value="${list.base_lev1 }">${list.ak_nm2 }</option>
											</c:forEach>
										
									</select>
				   				</td>
			   				</tr>
			   				<tr><td class="noBGC" colspan="2" style="height: 10px; padding: 0;"></td></tr>
			   				<tr>
			   					<td class="col-alignCenter">보안등급</td>
				   				<td class="col-alignCenter noBGC">
				   					<select disabled="disabled" name="ascu_id" id="ascu_id" class="selectBox" onchange=""  style="width: 92%">
				   					
                    						<option selected="selected" value="0">전체</option>
                    						<c:forEach  var="list" items="${requestScope.ascuList}" varStatus="status">
												<option value="${list.ascu_id }">${list.ascu_level }</option>
											</c:forEach>

									</select>
				   				</td>
			   				</tr>
			   				<tr><td class="noBGC" colspan="2" style="height: 10px; padding: 0;"></td></tr>
			   				<tr>
			   					<td class="col-alignCenter">기밀등급</td>
				   				<td class="col-alignCenter noBGC">
				   					<select disabled="disabled" name="asc_id" id="asc_id" class="selectBox" onchange=""  style="width: 92%">
				   					
                    						<option selected="selected" value="0">전체</option>
                    						<c:forEach  var="list" items="${requestScope.ascList}" varStatus="status">
												<option value="${list.asc_id }">${list.asc_level }</option>
											</c:forEach>
				   					
									</select>
				   				</td>
			   				</tr>
			   				<tr><td class="noBGC" colspan="2" style="height: 10px; padding: 0;"></td></tr>
			   				<tr>
			   					<td class="col-alignCenter">보안통제영역</td>
				   				<td class="col-alignCenter noBGC">
				   					<select disabled="disabled" name="ts_nm2" id="ts_nm2" class="selectBox" onchange="ts_nm3ListAjax(this)"  style="width: 92%">
				   					
                    						<option selected="selected" value="0">전체</option>
                    						<c:forEach  var="list" items="${requestScope.ts_nm2List}" varStatus="status">
												<option  value="${list.ts_nm2 }">${list.ts_nm2 }</option>
											</c:forEach>

									</select>
				   				</td>
			   				</tr>
			   				<tr><td class="noBGC" colspan="2" style="height: 10px; padding: 0;"></td></tr>
			   				<tr>
			   					<td class="col-alignCenter">보안통제항목</td>
				   				<td class="col-alignCenter noBGC">
				   				<div id="ts_nm3Div">
				   					<select disabled="disabled" name="ts_nm3" id="ts_nm3" class="selectBox" onchange=""  style="width: 92%">
				   					
                    						<option selected="selected" value="0">전체</option>
                    						<c:forEach  var="list" items="${requestScope.ts_nm3List}" varStatus="status">
												<option  value="${list.ts_nm3 }">${list.ts_nm3 }</option>
											</c:forEach>
									</select>
								</div>
				   				</td>
			   				</tr>
			   			</thead>
			   			<tfoot>
			   				<tr>
			   					<td colspan="2">
			                     	<div class="align-right">
			                     		<a href="#" class="button" onclick="stateReport_SL()"><span>조회</span></a>
			                     	</div>
			                     </td>
			   				</tr>
			   			</tfoot>
			   		</table>
      			</div>
      		</div>
      		</form>
      	</div><!-- end of div.box-container1 -->
      	</div> <!-- end of div.box -->
</body>
</html>